package com.wd.common.eventbus;

import java.lang.reflect.Method;

/**
 * NA<BR>
 *
 * @author W4255
 * @version [V0.0.1, 2021/7/5]
 * @Description: NA
 */
public class LbSubscribeMethod {
    private Method method;

    private Class<?> eventType;

    private LbSubscribeThreadMode tmacThreadMode;


    public LbSubscribeMethod(Method method, Class<?> eventType, LbSubscribeThreadMode tmacThreadMode) {
        this.method = method;
        this.eventType = eventType;
        this.tmacThreadMode = tmacThreadMode;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Class<?> getEventType() {
        return eventType;
    }

    public void setEventType(Class<?> eventType) {
        this.eventType = eventType;
    }

    public LbSubscribeThreadMode getTmacThreadMode() {
        return tmacThreadMode;
    }

    public void setTmacThreadMode(LbSubscribeThreadMode tmacThreadMode) {
        this.tmacThreadMode = tmacThreadMode;
    }
}
